package com.channel.temperature.collect.data.response

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "Offline")
data class OfflineBean(
//    @PrimaryKey(autoGenerate = true)
//    @ColumnInfo(name = "id")
//    var id: Int = 0,
    @ColumnInfo(name = "deviceName")
    val deviceName: String,
    @ColumnInfo(name = "deviceMac")
    val deviceMac: String,
    @ColumnInfo(name = "dataResult")
    val dataResult: String,
    @PrimaryKey
    @ColumnInfo(name = "time")
    val time: String,
    @ColumnInfo(name = "currentTaskName")
    val currentTaskName: String,
    @ColumnInfo(name = "gX2")
    val gX2: Float = 0f,
    @ColumnInfo(name = "pT2")
    val pT2: Float = 0f,
    @ColumnInfo(name = "pressure2")
    val pressure2: Float = 0f,
)

